function scrollSync(baseRef, callback) {
    baseRef.addEventListener('scroll', (e) => {                
        callback(e.target.scrollLeft);
    });
}
export default scrollSync;